package com.quanyan.common.vo;

import java.io.Serializable;

/**
 * Created by zhuo.shi on 2016/5/31.
 * 公用图片对象
 */
public class Image implements Serializable {
    private static final long serialVersionUID = -4575996892160344631L;
    /**
     * {
     "id": 0,
     "state": 0,
     "isMain": 0,
     "thumbnailUrl": "缩略图地址",
     "imageUrl": "http://quncao.b0.upaiyun.com/xiangche.png!bac"
     }
     */
    private Integer id;

    private Integer state;

    private Integer isMain;

    private String thumbnailUrl;

    private String imageUrl;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getIsMain() {
        return isMain;
    }

    public void setIsMain(Integer isMain) {
        this.isMain = isMain;
    }

    public String getThumbnailUrl() {
        return thumbnailUrl;
    }

    public void setThumbnailUrl(String thumbnailUrl) {
        this.thumbnailUrl = thumbnailUrl;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    @Override
    public String toString() {
        return "Image{" +
                "id=" + id +
                ", state=" + state +
                ", isMain=" + isMain +
                ", thumbnailUrl='" + thumbnailUrl + '\'' +
                ", imageUrl='" + imageUrl + '\'' +
                '}';
    }
}
